package hw2.cs236369.extensions;

/**
 * An aggregator function from (S X T) -> S
 * @author Gal Lalouche
 */
public interface Aggregator<S, T> {
	S calculate(S currentValue, T newValue);
}
